package com.ysqcould.members.domain;


import com.ysqcould.common.annotation.Excel;
import com.ysqcould.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 团体会名称对象 t_group_name
 * 
 * @author ruoyi
 * @date 2022-06-29
 */
public class GroupName extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 协会id */
    @Excel(name = "协会id")
    private Long asId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 会务 只看不可操作( 0只看，1可看可操作) */
    @Excel(name = "会务 只看不可操作( 0只看，1可看可操作)")
    private Long meetingStatus;

    /** 圈子 只看不可操作( 0只看，1可看可操作) */
    @Excel(name = "圈子 只看不可操作( 0只看，1可看可操作)")
    private Long circleStatus;

    /** 状态（字典 0正常 1冻结 2删除） */
    @Excel(name = "状态", readConverterExp = "字=典,0=正常,1=冻结,2=删除")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAsId(Long asId) 
    {
        this.asId = asId;
    }

    public Long getAsId() 
    {
        return asId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setMeetingStatus(Long meetingStatus) 
    {
        this.meetingStatus = meetingStatus;
    }

    public Long getMeetingStatus() 
    {
        return meetingStatus;
    }
    public void setCircleStatus(Long circleStatus) 
    {
        this.circleStatus = circleStatus;
    }

    public Long getCircleStatus() 
    {
        return circleStatus;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("asId", getAsId())
            .append("name", getName())
            .append("meetingStatus", getMeetingStatus())
            .append("circleStatus", getCircleStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .toString();
    }
}
